<?php /* Smarty version 2.6.20, created on 2013-05-25 01:50:42
         compiled from _core/_include/__database/v1purchasenote.class.tpl */ ?>
function v1purchasenote() {
};

v1purchasenote.instance = function() {
  return { trackId: MiscUtils.unique(),
           author: '',
           date: SimpleDate.create(),
           content: '',
           cancelled: 0,
           purchaseitem_id: 0
         }
};